package cn.net.dckj.common.core.domain;

import java.io.Serializable;

/**
 * Created by hqj on 2017/5/28.
 */
public class JsonData implements Serializable {
    private Integer code = -1;
    private String msg;
    private Object data;
    private Long totalCount = 0L;

    public Integer getCode() {
        return code;
    }

    public JsonData setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public JsonData setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public Object getData() {
        return data;
    }

    public JsonData setData(Object data) {
        this.data = data;
        return this;
    }

    public Long getTotalCount() {
        return totalCount;
    }

    public JsonData setTotalCount(Long totalCount) {
        this.totalCount = totalCount;
        return this;
    }
}
